|
|
I am doing the difference of two cubes. I expect the first cube to have a
hole where the second cube is. When I render the scene, the second cube is
visible. From what I have seen with differences, this seems like a bug.
//scene used to create this bug:
#include "textures.inc"
#include "colors.inc"
// ----------------------------------------
// ############ BEGIN #####################
// ----------------------------------------
camera {
// location <-6, 12, -50.05>
// look_at <-6, 12, -25.05>
//location <5,3,-11.05>
//look_at <5,3,-8.05>
location <5,3,-0.05>
look_at <5,3,-11.05>
light_source {
<-6, 30, -60.05>
color rgb <1, 1, 1> // light's color
}
// house cube
difference {
box {
<-10, -1, -10>, // Near lower left corner
<10,15,10> // Far upper right corner
texture {
//MJHouse
Red_Marble
scale .25
rotate y*90
}
}
box { <4,-1,-9.875>, <7, 4, -10.125> texture { White_Marble } }
} //end of difference
Post a reply to this message
|
|